package com.ptswitch.material.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.ptswitch.material.dao.impl.ContractInvoiceDao;
import com.ptswitch.material.model.contract.ContractInvoice;
import com.ptswitch.material.service.ContractInvoiceService;

@Service
public class ContractInvoiceServiceImpl implements ContractInvoiceService {

    @Resource
    private ContractInvoiceDao contractInvoiceDao;

    @Override
    public ContractInvoice findById(String id) {
        return contractInvoiceDao.findById(id);
    }

    @Override
    public void save(ContractInvoice model) {
        contractInvoiceDao.save(model);
    }

}
